<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/3
 * Time: 10:27
 * 更新回访记录
 */
//获取参数
$orr_id = $route->bodyParams["orr_id"];//主键ID

//更新条件
$whereArr = [
    "orr_id" => $orr_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_return_record",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );